class Map{
    constructor(el){
        this.el = el
        this.width = 800
        this.height = 400
        this.len = 20
    }
    mapCreate(){
        this.el.style.width = this.width + 'px'
        this.el.style.height = this.height + 'px'
        this.el.style.background = 'url(./img/bg.png)'
        this.el.style.backgroundSize = '200px 200px'
        this.el.style.position = 'absolute'
        this.el.style.left = this.el.style.top = this.el.style.right = this.el.style.bottom = 0
        this.el.style.margin = 'auto'
        this.el.style.border = '10px solid black'
    }
}